package com.abc.fast.server.oss.domain.vo.req;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UploadUrlReq {

    @ApiModelProperty(value = "文件名（带后缀）")
    @NotBlank
    private String fileName;

    @ApiModelProperty(value = "上传场景 1.xxx 【自定义】")
    @NotNull
    private Integer type;

}
